package cn.edu.cqupt.educationfoundation.votingsystem.model.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

/**
 * @program: votingsystem
 * @author: Yueyu
 * @create: 2019-11-01 19:55
 * @description:
 **/
@Data
@ToString
@ApiModel(value = "voteOptionCreateDto",description = "投票项新建传入数据模型")
public class VoteOptionCreateDto {

    @ApiModelProperty(name = "activityId",value = "活动id",dataType = "int")
    private Integer activityId;
    @ApiModelProperty(name = "contributor",value = "小标题/投稿人",dataType = "string")
    private String contributor;
    @ApiModelProperty(name = "introduction",value = "选项介绍",dataType = "string")
    private String introduction;
    @ApiModelProperty(name = "content",value = "选项内容",dataType = "string")
    private String content;

}
